package com.mojian.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: yuzhuo
 * @date: 2025/6/6
 * @description: 批量保存用户社交平台DTO
 */
@Data
@ApiModel(value = "批量保存用户社交平台DTO")
public class SysUserPlatformBatchDto {

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @ApiModelProperty(value = "社交平台列表", required = true)
    @NotEmpty(message = "社交平台列表不能为空")
    @Valid
    private List<SysUserPlatformDto> socialMediaList;
} 